import Vue from 'vue'
import Vuex from 'vuex'
Vue.use(Vuex)
export default new Vuex.Store({
  state: {
    solutionType: 1,
    aboutUsType: 2,
    isMobileAndPc: false,
  },
  getters: {},
  mutations: {
    setSolutionType(state, type) {
      state.solutionType = type
    },
    setAboutUsType(state, type) {
      state.aboutUsType = type
    },
    setIsMobile(state, type) {
      state.isMobileAndPc = type
    }
  },
  actions: {},
  modules: {}
})
